package dealfinder

import grails.converters.*

class RootController {

    def index = {
    
    }
    
    
     /**
     * returns the result of a called webservice
     * The result is returned as JSON
     */
    def setResult(Object result) {
        if(result != null){
            render result as JSON
        }
        
    }
}
